<?php
namespace Home\Controller;
use Think\Controller;
class ListController extends Controller {
    public function index(){
    	$id = I('id');
    	$article = M('article')->where(array('cate_id'=>$id))->select();
    	$this->list = $article;
        $this->display();
     }

}